package demo013;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Test {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext a = new AnnotationConfigApplicationContext(Spring11.class);
        Doginface bean = a.getBean(Doginface.class);
       // bean.App();
        Ass bean1 = a.getBean(Ass.class);
        bean1.Post();
        a.close();
    }
}
